@extends('admin.layouts.wap_simple')
@section('title','小程序备案管理员列表')
@section('content')

<div class="mview-card-content">
    @forelse($temAdmins as $temAdmin)
    <div class="mview-card-item">
        <div class="mview-header">
            <div class="left">
                <h5>{{ $temAdmin->manage_idcard }}</h5>
                <h3>{{ $temAdmin->manage_name }}</h3>
            </div>
            <div class="mview-btn">{{ $temAdmin->manage_mobile }}</div>
        </div>
        <div class="mview-footer">
            <p>身份证过期时间:{{ date("Y-m-d",strtotime($temAdmin->manage_date_end)) }}</p>
            <div class="mview-btn-group">
                <a href="/admin/template/admin_update/{{ $temAdmin->id }}" class="mview-btn">修改管理员信息</a>
            </div>
        </div>
    </div>
    @empty
    <div class="mview-image-card-item">
        <div class="mview-header">
            <div class="left">
                <h3>当前暂无管理员</h3>
                <h5>添加后可以快速选择成员，无需重复填写管理信息。</h5>
            </div>
        </div>
    </div>
    @endforelse
</div>
<a href="/admin/template/admin_add" class="m-btn-bottom m-bg-primary">添加新的小程序备案管理员</a>
@endsection
